package com.xb.service;


import com.github.pagehelper.PageInfo;
import com.xb.entity.MedicalRecord;
import com.xb.util.Result;

import javax.servlet.http.HttpSession;

/**
 * entityService接口
 */
public interface IMedicalRecordService {

    /**
     * 分页查询entity列表
     *
     * @param medicalRecord entity
     * @return entity集合
     */
    public PageInfo<MedicalRecord> selectMedicalRecordList(MedicalRecord medicalRecord, Integer page, Integer limit);


    /**
     * 修改entity
     *
     * @param medicalRecord entity
     * @return 结果
     */
    public Result updateMedicalRecord(MedicalRecord medicalRecord, HttpSession session);

    public Result addMedicalRecord(MedicalRecord medicalRecord, HttpSession session);

}
